//
//  String.c
//  Wood
//
//  Created by Wayne on 9/10/14.
//  Copyright (c) 2014 Wayne. All rights reserved.
//

#include <string.h>
#include <stdlib.h>
#include "Arch.h"
#include "Functions.h"

String *createString(char *str) {
    String *string;
    string = malloc(sizeof(String));
    string->string = malloc(sizeof(char) * (strlen(str) + 1));
    strcpy(string->string, str);
    return string;
}